Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add delete group admin API #5002

Merged
merged 4 commits into from
Apr 4, 2019
Merged

Add delete group admin API #5002

merged 4 commits into from
Apr 4, 2019

Conversation

erikjohnston
Copy link
Member

We can probably easily extend this to making a proper /delete_group API for group admins later.

@erikjohnston erikjohnston requested a review from a team April 3, 2019 15:35
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

class DeleteGroupAdminRestServlet(ClientV1RestServlet):
"""Allows deleting of local groups
"""
PATTERNS = client_path_patterns("/admin/delete_group/(?P<group_id>[^/]*)")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

given #4850, it would be good to consider putting this elsewhere.

OTOH there's something to be said for first adding an alternative path for all the existing admin APIs, and only then start adding new ones on the new path.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Point. Though I don't really know what exactly we want to do there

@erikjohnston erikjohnston merged commit 616e6a1 into develop Apr 4, 2019
@erikjohnston erikjohnston deleted the erikj/delete_group branch January 9, 2020 15:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants